package com.foreveross.dao;

import java.util.List;

import com.foreveross.vo.ProductType;
import com.foreveross.vo.TenementCost;

public interface TenementCostDAO {
	
public <T extends Object> void save(T entity) throws Exception;
	
	public <T> void remove(T entity) throws Exception;

	public Object findById(Class clazz,String id) throws Exception;
	
	public Object findByIntId(Class clazz,int id) throws Exception;
		
	public <T extends Object> T updateObject(T t) throws Exception;

	public List<TenementCost> findTenementCostList(String weixinID,String userId,
			String houseId, String IpItemName, String status,String resCode,String type, int pageIndex,
			int pageSize) throws Exception ;
	
	public long findTenementCostListCount(String weixinID,String userId,
			String houseId, String IpItemName, String status,String resCode,String type) throws Exception;

}
